package ModelLayer;


/**
 * Write a description of class RentItem here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class RentItem extends Item
{
    private boolean status;
    private int weeklyRate;
    
    public RentItem()
    {

    }
    
    public RentItem(long id, String name, String location, int weeklyRate)
    {
        super(id, name, location);
        this.status = true;
        this.weeklyRate = weeklyRate;
    }
    
    public boolean getStatus()
    {
        return status;
    }
    
    public int getWeeklyRate()
    {
        return weeklyRate;
    }
    
    public void setStatusTrue()
    {
        status = true;
    }
    
    public void setStatusFalse()
    {
        status = false;
    }
    
    public void setWeeklyRate(int newweeklyRate)
    {
        weeklyRate = newweeklyRate;
    }
}
